package xyz.xtt.pay.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author dale
 * @date 2025/1/15
 **/
@Schema(name = "跳转支付收银台参数", description = "跳转支付收银台参数")
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PayCenterPayParamV3 {
    @Schema(description = "预下单Id")
    private String prepayId;
    @Schema(description = "下单时间")
    private String timeStamp;
    @Schema(description = "随机字符串")
    private String nonceStr;
    @JsonProperty("package")
    private String package_;
    @Schema(description = "签名方式")
    private String signType;
    @Schema(description = "是否需要分账 Y是N否")
    private String isSplitAccount;
    @Schema(description = "appId")
    private String appId;
    @Schema(description = "sign")
    private String sign;
    @Schema(description = "backUrl")
    private String backUrl;
    @Schema(description = "是否回到指定backUrl页面")
    @JsonProperty("isPaymentResults")
    private boolean isPaymentResults;

}
